package com.eedi.org.healthinfo.controller.vo;

import com.eedi.framework.common.enums.CommonStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "健康资讯更新状态 Request VO")
@Data
public class OrgHealthInfoUpdateStatusReqVO {

    /**
     * 健康资讯ID
     */
    @Schema(description = "健康资讯ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8653")
    @NotEmpty(message = "健康资讯ID不能为空")
    private String orgHealthInfoId;

    /**
     * 发布状态：0 不发布 1 发布
     */
    @Schema(description = "状态，见 CommonStatusEnum 枚举", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "发布状态不能为空")
    private CommonStatusEnum orgPublishStatus;

    /**
     * 是否首页推荐： 0 不推荐 1 推荐
     */
    @NotNull(message = "是否首页推荐不能为空")
    private CommonStatusEnum orgHomeRecommend;
    /**
     * 是否栏目推荐： 0不推荐 1 推荐
     */
    @NotNull(message = "是否栏目推荐不能为空")
    private CommonStatusEnum orgColumnRecommend;

}
